<template>
    <div class="comp">
        <div class="left">
            <img class="icon" src="http://iot.sxennp.com/iot4/platform/ciotFlow//moduleIcon/MqttPub.svg" alt="">
        </div>
        <div class="right">
            MQTT输入
        </div>
    </div>
</template>
<script>

export default {

}
</script>
<style scoped>
.comp{
    display: flex;
    background: rgb(221, 170, 153);
    width: 140px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 5px;
}
.left{
    width: 30px;
    flex: none;
}
.icon{
    width: 20px;
    height: 20px;
}
.right{
    flex:1;
    text-align: center;
    line-height: 36px;
    font-size: 13px;
}

</style>
